package com.ysd.lis.service.inv;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.inv.InvOrderInfo;
import com.ysd.lis.request.inv.*;

/**
 * <p>
 * 订单信息 服务类
 * </p>
 *
 * @author WH
 * @since 2024-09-19
 */
public interface InvOrderInfoService extends IService<InvOrderInfo> {

    Result findOrderInfoList(InvOrderParam param);

    Result findOrderInfoListByAllot(InvOrderParam param);

    Result batchDeleteInvOrderInfoList(InvOrderDto dto);

    Result addOrderInfo(InvOrderInfo invOrderInfo);

    Result editOrderInfo(InvOrderInfo invOrderInfo);

    Result findOrderInfoAndReagent(InvOrderParam param);

    Result findOrderInfoByAllot(InvOrderParam param);

    Result batchCheckInStock(InvOrderDto dto);

    Result batchAllotInStock(InvOrderDto dto);

    Result orderFinanceCheck(InvOrderDto dto);

    Result checkOutStock(InvOrderInfo invOrderInfo);

    Result getInvOrderAgency(InvReagentStockParam param);
    //Result getInvOrderAgency(CommonPageDto pageParam);

    /*单个商品流程步骤*/
    Result getReagentSteps(GetReagentStepsParam input);

    /*批次查询Chart图*/
    Result getBatchSearchChart(FindReagentStockByBatchParam input);
}
